import request from '@/utils/request'

export default {
    //验证码
    getCode:(phone) => request.post('/user/checkCode',{phone}),
    //登录
    login:(params) => {
        return request.post('/user/login',params)
    }, //{phone,checkcode}
    //获取个人信息
    getUserInfo:() => request.get('/user/getUserInfo')
}

export const num=123;